// This file is part of Indico.
// Copyright (C) 2002 - 2025 CERN
//
// Indico is free software; you can redistribute it and/or
// modify it under the terms of the MIT License; see the
// LICENSE file for more details.

@use 'design_system';

.extra-slots-label {
  @extend %visually-hidden;
}

table.choice-table {
  border-collapse: collapse;

  tr {
    td:first-child {
      padding-top: 15px;
      padding-bottom: 15px;
    }

    td:not(:first-child) {
      padding-left: 10px;
    }

    td :global(.ui.label) {
      white-space: nowrap;
    }
  }

  .dropdown:global(.ui.dropdown) {
    padding-top: 6px;
    padding-left: 12px;
    min-height: 30px;
    height: 30px;
    min-width: 50px;

    i:global(.dropdown.icon) {
      padding-top: 7px;
      right: 0.8em;
    }
  }

  .row:not(:last-child) {
    border-bottom: 1px solid rgba(34, 36, 38, 0.15);
  }

  .checkbox {
    max-width: 300px;

    label {
      overflow-wrap: anywhere;
    }
  }
}
